package _作业.Stream;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.function.Consumer;

public class Test01 {
    public static void main(String[] args) {
        List<String> list = new ArrayList<>();
        Collections.addAll(list, "张三丰", "王思聪", "张飞", "周慧敏", "张靓颖");
        list.stream().forEach(System.out::println);
    }
}
